package com.rhb.ca.role.business;
import java.util.List;

import com.rhb.ca.exception.DuplicateException;
import com.rhb.ca.role.bean.*;

public interface RoleBusiness {
	public String create(Role obj) throws DuplicateException;
	public void update(Role obj) throws DuplicateException;
	public void delete(Role obj);
	public Role findByPk(String pk);

	public List findByQuery(RoleQuery query,int start, int count);
	public int getAllCount_findByQuery(RoleQuery query);

	public boolean existRoleCaption(String no,String pk);
	public Role findByRoleCaption(String no);

}
